<template>
  <el-form label-position="left" label-width="124px" ref="diaForm"
           :model="data">
    <el-row class="row_margin_bottom" :gutter="30">
      <el-col :span="12">
        <el-form-item label="时间：" prop="downTime">
          <el-input size="small" v-model="data.downTime"></el-input>
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="设备名称：" prop="equipmentName">
          <el-input size="small" v-model="data.equipmentName"></el-input>
        </el-form-item>
      </el-col>
    </el-row>
    <el-row class="row_margin_bottom" :gutter="30">
      <el-col :span="12">
        <el-form-item label="故障情况描述：" prop="failureDescription">
          <el-input size="small" v-model="data.failureDescription"></el-input>
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="故障原因分析：" prop="failureReason">
          <el-input size="small" v-model="data.failureReason"></el-input>
        </el-form-item>
      </el-col>
    </el-row>
    <el-row class="row_margin_bottom" :gutter="30">
      <el-col :span="12">
        <el-form-item label="维修方法：" prop="maintenanceMethod">
          <el-input size="small" v-model="data.maintenanceMethod"></el-input>
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="故障恢复时间：" prop="recoveryTime">
          <el-input size="small" v-model="data.recoveryTime"></el-input>
        </el-form-item>
      </el-col>
    </el-row>
    <el-row class="row_margin_bottom" :gutter="30">
      <el-col :span="12">
        <el-form-item label="维修人员名字：" prop="repairPerson">
          <el-input size="small" v-model="data.repairPerson"></el-input>
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="检查人：" prop="examiner">
          <el-input size="small" v-model="data.examiner"></el-input>
        </el-form-item>
      </el-col>
    </el-row>
    <el-row class="row_margin_bottom" :gutter="30">
      <el-col :span="12">
        <el-form-item label="操作人：" prop="operatePerson">
          <el-input size="small" v-model="data.operatePerson"></el-input>
        </el-form-item>
      </el-col>
    </el-row>
  </el-form>
</template>

<script>
export default {
  name: 'editForm',
  props: {
    data: { type: Object }
  },
  data () {
    return {
    }
  }
}
</script>

<style scoped>

</style>
